/*
 * Copyright 2020-2030 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
*/

package com.gitee.minimalismstyle.fresh.flowable.api.feign.model

import java.io.Serializable

/**
 * ProcessInstanceQueryRequest
 * @author maoxiaodong
 */
class ProcessInstanceQueryRequest : Serializable {

    /**
     *
     * example:
     */
    var start: Int? = null

    /**
     *
     * example:
     */
    var size: Int? = null

    /**
     *
     * example:
     */
    var sort: String? = null

    /**
     *
     * example:
     */
    var order: String? = null

    /**
     *
     * example:
     */
    var processInstanceId: String? = null

    /**
     *
     * example:
     */
    var processInstanceIds: List<String>? = null

    /**
     *
     * example:
     */
    var processInstanceName: String? = null

    /**
     *
     * example:
     */
    var processInstanceNameLike: String? = null

    /**
     *
     * example:
     */
    var processInstanceNameLikeIgnoreCase: String? = null

    /**
     *
     * example:
     */
    var processBusinessKey: String? = null

    /**
     *
     * example:
     */
    var processBusinessKeyLike: String? = null

    /**
     *
     * example:
     */
    var processDefinitionId: String? = null

    /**
     *
     * example:
     */
    var processDefinitionIds: List<String>? = null

    /**
     *
     * example:
     */
    var processDefinitionKey: String? = null

    /**
     *
     * example:
     */
    var processDefinitionKeys: List<String>? = null

    /**
     *
     * example:
     */
    var processDefinitionName: String? = null

    /**
     *
     * example:
     */
    var processDefinitionCategory: String? = null

    /**
     *
     * example:
     */
    var processDefinitionVersion: Int? = null

    /**
     *
     * example:
     */
    var processDefinitionEngineVersion: String? = null

    /**
     *
     * example:
     */
    var deploymentId: String? = null

    /**
     *
     * example:
     */
    var deploymentIdIn: List<String>? = null

    /**
     *
     * example:
     */
    var superProcessInstanceId: String? = null

    /**
     *
     * example:
     */
    var subProcessInstanceId: String? = null

    /**
     *
     * example:
     */
    var excludeSubprocesses: Boolean? = null

    /**
     *
     * example:
     */
    var activeActivityId: String? = null

    /**
     *
     * example:
     */
    var activeActivityIds: List<String>? = null

    /**
     *
     * example:
     */
    var involvedUser: String? = null

    /**
     *
     * example:
     */
    var startedBy: String? = null

    /**
     *
     * example:
     */
    var startedBefore: String? = null

    /**
     *
     * example:
     */
    var startedAfter: String? = null

    /**
     *
     * example:
     */
    var suspended: Boolean? = null

    /**
     *
     * example:
     */
    var includeProcessVariables: Boolean? = null

    /**
     *
     * example:
     */
    var variables: List<QueryVariable>? = null

    /**
     *
     * example:
     */
    var callbackId: String? = null

    /**
     *
     * example:
     */
    var callbackType: String? = null

    /**
     *
     * example:
     */
    var tenantId: String? = null

    /**
     *
     * example:
     */
    var tenantIdLike: String? = null

    /**
     *
     * example:
     */
    var withoutTenantId: Boolean? = null
}